home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / std / c / 563 < prev    next >
Internet Message Format  |  1996-08-06  |  2KB

  1. Path: dispatch.news.demon.net!demon!ken
  2. From: ken@kgcc.demon.co.uk
  3. Newsgroups: comp.sys.hp.hpux,comp.lang.c,comp.std.c
  4. Subject: Re: RFI: meaning of -Ae option of HP-UX's c89(1)
  5. Followup-To: comp.sys.hp.hpux,comp.lang.c,comp.std.c
  6. Date: Wed, 13 Mar 1996 21:36:10 GMT
  7. Organization: Ken Green Computer Consultancy
  8. Distribution: na
  9. Message-ID: <Do86oB.4GJ@kgcc.demon.co.uk>
  10. References: <steve.826731720@buddy.unidata.ucar.edu>
  11. Reply-To: Ken.Green@kgcc.demon.co.uk
  12. X-NNTP-Posting-Host: kgcc.demon.co.uk
  13. X-Newsreader: TIN [version 1.2 PL2]
  14.  
  15. Steve Emmerson (steve@unidata.ucar.edu) wrote:
  16. > Hi,
  17.  
  18. > If you know the meaning of the `-Ae' option of HP-UX's c89(1) compiler,
  19. > I would appreciate hearing from you.  This option isn't documented in
  20. > the manual page.
  21.  
  22. > Here's my system:
  23.  
  24. >     HP-UX xxxxx A.09.05 A 9000/715 2010262449 two-user license
  25.  
  26. From the manual page
  27.  
  28.       -Amode         Specify the compilation standard to be used by the
  29.                      compiler.  mode can be one of the following letters:
  30.  
  31.  
  32. -------------------------8<------------------------------------------
  33.  
  34.                         e    Extended ANSI mode.  Same as -Aa -D_HPUX_SOURCE
  35.                              +e. This would define the names (macros and
  36.                              typedefs) provided by the HPUX Operating System
  37.                              and, in addition, allow the following
  38.                              extensions: $ characters in identifier names,
  39.                              sized enums, sized bit-fields, and 64-bit
  40.                              integral type long long. Additional extensions
  41.                              may be added to this option in the future.
  42.  
  43.  
  44.     Basicaly if you use -Aa to get ANSI C then you get just ANSI C
  45.     and no access to normal Unix features. by using various -D
  46.     options you can select the standard you would like to conform
  47.     to. -D_HPUX_SOURCE allows access to the full range of features.
  48.     -Ae is a quicker way to get this.
  49.  
  50.  
  51. -- 
  52. __________________email Ken.Green@kgcc.demon.co.uk _____________________
  53. Ken Green Computer Consultancy  
  54.           22 Matthews Chase, Binfield, Berkshire, RG42 4UR.  U.K.
  55.